﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using ICSharpCode.Core;
using System.Collections.ObjectModel;
using AvalonDock;
using Agnes.Mainframe.Pads;

namespace Agnes.Mainframe
{
    /// <summary>
    /// Main Windows Model
    /// </summary>
    public class MainWinModel
    {
        /// <summary>
        /// Main Menu Items
        /// </summary>
        public ObservableCollection<object> MenuItems { get; set; }

        public DockingManager DockingManager { get; set; }

        /// <summary>
        /// Main Window Pads
        /// </summary>
        public ObservableCollection<IPadContent> PadContents { get; set; }

        public MainWinModel()
        {
            MainMenuItemCollection.IntiMainMenu();
            MenuItems = MainMenuItemCollection.MenuItems;
            DockingManager = Workbench.Instance.DockingManager;
            Workbench.Instance.AddPad(new PadDescriptor(typeof(SolutionTreePad), "1", "aa"));
        }
    }
}
